package com.example.demo.dao;

import com.example.demo.jooq.tables.pojos.Email;
import com.example.demo.model.po.EmailPage;
import com.example.demo.model.request.EmailPageRequest;
import com.example.demo.model.request.VpsPageRequest;

import java.util.List;

public interface IEmailDao {
    /**
     * email分页查询
     * @param emailPageRequest 请求参数
     * @return  List<VpsPage>
     */
    public List<EmailPage> queryPageEmailList(EmailPageRequest emailPageRequest);

    /**
     * 查询email
     * @param email 请求参数
     * @return  List<VpsPage>
     */
    public Email queryOneEmail(String email);
}
